package cn.bluemobi.app.mapper;

import java.util.List;
import java.util.Map;

import cn.bluemobi.app.entity.form.PayInfoForm;
import cn.bluemobi.app.entity.output.Order;
import cn.bluemobi.app.entity.output.OrderItem;
import cn.bluemobi.app.entity.output.OrderPay;

public interface PayMapper {

	int insertPayInfo(PayInfoForm payInfoForm);

	OrderPay findOrderPayByBatchNo(String batchNo);

	List<Order> findOrders(List<String> orderNumberList);

	List<OrderItem> findOrderItem(String orderId);

	int updateOrder(Map<String, Object> orderParams);

	int updateCommodityBuyCount(List<OrderItem> orderItems);

	int updateMemberTotalConsumeMoney(String money, String memberId);

	int updateMemberTotalRebateConsumeMoney(String money, String memberId);

	int updateWaitRebatePoints(String waitRebatePoints, String orderInfoId);

	void updateMemberLevel(String string, String memberId);

	void updateOrderInfoIsPrefecture(String isPrefecture, String orderInfoId);

}
